def findIndex(word, letter):
n = 0
for i in word:
       if i == letter:
            return word.index(i, n)
       n = n+1


print(findIndex('Hello', 'l'))